projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69251d0
)
build: no need to replace path separators
author
Jordan Petridis
<jpetridis@gnome.org>
Tue, 26 Feb 2019 22:51:55 +0000
(
00:51
+0200)
committer
Jordan Petridis
<jpetridis@gnome.org>
Wed, 27 Feb 2019 14:25:58 +0000
(16:25 +0200)
Python APIs accept both `\` and `/` as path separators.
build-aux/meson/post-install.py
patch
|
blob
|
history
diff --git
a/build-aux/meson/post-install.py
b/build-aux/meson/post-install.py
index b66961c02bcfc9c72487dc12a53f4021fa4e4a58..d61873c5515e7432fa32a420b7c7cc62e56631c1 100644
(file)
--- a/
build-aux/meson/post-install.py
+++ b/
build-aux/meson/post-install.py
@@
-7,8
+7,8
@@
import subprocess
if 'DESTDIR' not in os.environ:
\r
gtk_api_version = sys.argv[1]
\r
gtk_abi_version = sys.argv[2]
\r
- gtk_libdir = sys.argv[3]
.replace('/', os.sep)
\r
- gtk_datadir = sys.argv[4]
.replace('/', os.sep)
\r
+ gtk_libdir = sys.argv[3]
+ gtk_datadir = sys.argv[4]
\r
gtk_moduledir = os.path.join(gtk_libdir, 'gtk-' + gtk_api_version, gtk_abi_version)
\r
gtk_printmodule_dir = os.path.join(gtk_moduledir, 'printbackends')
\r